<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibDriver CH9121: ch9121 test driver function</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="doxygen.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibDriver CH9121
   &#160;<span id="projectnumber">1.0.0</span>
   </div>
   <div id="projectbrief">CH9121 full function driver</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('group__ch9121__test__driver.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">ch9121 test driver function<div class="ingroups"><a class="el" href="group__ch9121__driver.html">ch9121 driver function</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>ch9121 test driver modules  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga684536da5c9dd76145ad00ca0b658b97"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__test__driver.html#ga684536da5c9dd76145ad00ca0b658b97">CH9121_NET_TEST_IP</a>&#160;&#160;&#160;{192, 168, 1, 230}</td></tr>
<tr class="memdesc:ga684536da5c9dd76145ad00ca0b658b97"><td class="mdescLeft">&#160;</td><td class="mdescRight">ch9121 net test ip definition  <a href="group__ch9121__test__driver.html#ga684536da5c9dd76145ad00ca0b658b97">More...</a><br /></td></tr>
<tr class="separator:ga684536da5c9dd76145ad00ca0b658b97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab0a4649e8e88fdf7852b5dbdb49a8ba4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__test__driver.html#gab0a4649e8e88fdf7852b5dbdb49a8ba4">CH9121_NET_TEST_DST_IP</a>&#160;&#160;&#160;{192, 168, 1, 10}</td></tr>
<tr class="memdesc:gab0a4649e8e88fdf7852b5dbdb49a8ba4"><td class="mdescLeft">&#160;</td><td class="mdescRight">ch9121 net test dest ip definition  <a href="group__ch9121__test__driver.html#gab0a4649e8e88fdf7852b5dbdb49a8ba4">More...</a><br /></td></tr>
<tr class="separator:gab0a4649e8e88fdf7852b5dbdb49a8ba4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa00f40cad68e215a605194ee519aef9b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__test__driver.html#gaa00f40cad68e215a605194ee519aef9b">CH9121_NET_TEST_MASK</a>&#160;&#160;&#160;{255, 255, 255, 0}</td></tr>
<tr class="memdesc:gaa00f40cad68e215a605194ee519aef9b"><td class="mdescLeft">&#160;</td><td class="mdescRight">ch9121 net test subnet mask definition  <a href="group__ch9121__test__driver.html#gaa00f40cad68e215a605194ee519aef9b">More...</a><br /></td></tr>
<tr class="separator:gaa00f40cad68e215a605194ee519aef9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0bf5aff3abdcbc3a1fec92b43a0d040f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__test__driver.html#ga0bf5aff3abdcbc3a1fec92b43a0d040f">CH9121_NET_TEST_GATEWAY</a>&#160;&#160;&#160;{192, 168, 1, 1}</td></tr>
<tr class="memdesc:ga0bf5aff3abdcbc3a1fec92b43a0d040f"><td class="mdescLeft">&#160;</td><td class="mdescRight">ch9121 net test gateway definition  <a href="group__ch9121__test__driver.html#ga0bf5aff3abdcbc3a1fec92b43a0d040f">More...</a><br /></td></tr>
<tr class="separator:ga0bf5aff3abdcbc3a1fec92b43a0d040f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga78f6f64779ab462bb2344fdfba7718c9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__test__driver.html#ga78f6f64779ab462bb2344fdfba7718c9">CH9121_NET_TEST_PORT</a>&#160;&#160;&#160;1000</td></tr>
<tr class="memdesc:ga78f6f64779ab462bb2344fdfba7718c9"><td class="mdescLeft">&#160;</td><td class="mdescRight">ch9121 net test port definition  <a href="group__ch9121__test__driver.html#ga78f6f64779ab462bb2344fdfba7718c9">More...</a><br /></td></tr>
<tr class="separator:ga78f6f64779ab462bb2344fdfba7718c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga97fda16cdbb3fb56eea4ed88312e3a00"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__test__driver.html#ga97fda16cdbb3fb56eea4ed88312e3a00">CH9121_NET_TEST_DST_PORT</a>&#160;&#160;&#160;2000</td></tr>
<tr class="memdesc:ga97fda16cdbb3fb56eea4ed88312e3a00"><td class="mdescLeft">&#160;</td><td class="mdescRight">ch9121 net test dest port definition  <a href="group__ch9121__test__driver.html#ga97fda16cdbb3fb56eea4ed88312e3a00">More...</a><br /></td></tr>
<tr class="separator:ga97fda16cdbb3fb56eea4ed88312e3a00"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga47da78b48326233bd92c0b44ab614ec4"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__test__driver.html#ga47da78b48326233bd92c0b44ab614ec4">ch9121_net_test</a> (<a class="el" href="group__ch9121__base__driver.html#ga1885e76e565351e002b873668e4a9d16">ch9121_mode_t</a> mode, uint32_t timeout)</td></tr>
<tr class="memdesc:ga47da78b48326233bd92c0b44ab614ec4"><td class="mdescLeft">&#160;</td><td class="mdescRight">net test  <a href="group__ch9121__test__driver.html#ga47da78b48326233bd92c0b44ab614ec4">More...</a><br /></td></tr>
<tr class="separator:ga47da78b48326233bd92c0b44ab614ec4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4aebb754a6674bf812df00c173a4f346"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ch9121__test__driver.html#ga4aebb754a6674bf812df00c173a4f346">ch9121_register_test</a> (void)</td></tr>
<tr class="memdesc:ga4aebb754a6674bf812df00c173a4f346"><td class="mdescLeft">&#160;</td><td class="mdescRight">register test  <a href="group__ch9121__test__driver.html#ga4aebb754a6674bf812df00c173a4f346">More...</a><br /></td></tr>
<tr class="separator:ga4aebb754a6674bf812df00c173a4f346"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>ch9121 test driver modules </p>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="gab0a4649e8e88fdf7852b5dbdb49a8ba4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab0a4649e8e88fdf7852b5dbdb49a8ba4">&#9670;&nbsp;</a></span>CH9121_NET_TEST_DST_IP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CH9121_NET_TEST_DST_IP&#160;&#160;&#160;{192, 168, 1, 10}</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ch9121 net test dest ip definition </p>
<p>dest ip </p>

<p class="definition">Definition at line <a class="el" href="driver__ch9121__net__test_8h_source.html#l00062">62</a> of file <a class="el" href="driver__ch9121__net__test_8h_source.html">driver_ch9121_net_test.h</a>.</p>

</div>
</div>
<a id="ga97fda16cdbb3fb56eea4ed88312e3a00"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga97fda16cdbb3fb56eea4ed88312e3a00">&#9670;&nbsp;</a></span>CH9121_NET_TEST_DST_PORT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CH9121_NET_TEST_DST_PORT&#160;&#160;&#160;2000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ch9121 net test dest port definition </p>
<p>2000 </p>

<p class="definition">Definition at line <a class="el" href="driver__ch9121__net__test_8h_source.html#l00090">90</a> of file <a class="el" href="driver__ch9121__net__test_8h_source.html">driver_ch9121_net_test.h</a>.</p>

</div>
</div>
<a id="ga0bf5aff3abdcbc3a1fec92b43a0d040f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0bf5aff3abdcbc3a1fec92b43a0d040f">&#9670;&nbsp;</a></span>CH9121_NET_TEST_GATEWAY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CH9121_NET_TEST_GATEWAY&#160;&#160;&#160;{192, 168, 1, 1}</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ch9121 net test gateway definition </p>
<p>gateway </p>

<p class="definition">Definition at line <a class="el" href="driver__ch9121__net__test_8h_source.html#l00076">76</a> of file <a class="el" href="driver__ch9121__net__test_8h_source.html">driver_ch9121_net_test.h</a>.</p>

</div>
</div>
<a id="ga684536da5c9dd76145ad00ca0b658b97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga684536da5c9dd76145ad00ca0b658b97">&#9670;&nbsp;</a></span>CH9121_NET_TEST_IP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CH9121_NET_TEST_IP&#160;&#160;&#160;{192, 168, 1, 230}</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ch9121 net test ip definition </p>
<p>local ip </p>

<p class="definition">Definition at line <a class="el" href="driver__ch9121__net__test_8h_source.html#l00055">55</a> of file <a class="el" href="driver__ch9121__net__test_8h_source.html">driver_ch9121_net_test.h</a>.</p>

</div>
</div>
<a id="gaa00f40cad68e215a605194ee519aef9b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa00f40cad68e215a605194ee519aef9b">&#9670;&nbsp;</a></span>CH9121_NET_TEST_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CH9121_NET_TEST_MASK&#160;&#160;&#160;{255, 255, 255, 0}</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ch9121 net test subnet mask definition </p>
<p>subnet mask </p>

<p class="definition">Definition at line <a class="el" href="driver__ch9121__net__test_8h_source.html#l00069">69</a> of file <a class="el" href="driver__ch9121__net__test_8h_source.html">driver_ch9121_net_test.h</a>.</p>

</div>
</div>
<a id="ga78f6f64779ab462bb2344fdfba7718c9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga78f6f64779ab462bb2344fdfba7718c9">&#9670;&nbsp;</a></span>CH9121_NET_TEST_PORT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CH9121_NET_TEST_PORT&#160;&#160;&#160;1000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ch9121 net test port definition </p>
<p>1000 </p>

<p class="definition">Definition at line <a class="el" href="driver__ch9121__net__test_8h_source.html#l00083">83</a> of file <a class="el" href="driver__ch9121__net__test_8h_source.html">driver_ch9121_net_test.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga47da78b48326233bd92c0b44ab614ec4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga47da78b48326233bd92c0b44ab614ec4">&#9670;&nbsp;</a></span>ch9121_net_test()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t ch9121_net_test </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ch9121__base__driver.html#ga1885e76e565351e002b873668e4a9d16">ch9121_mode_t</a>&#160;</td>
          <td class="paramname"><em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>timeout</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>net test </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>is the net mode </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">timeout</td><td>in ms </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>status code<ul>
<li>0 success</li>
<li>1 test failed </li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>none </dd></dl>

<p class="definition">Definition at line <a class="el" href="driver__ch9121__net__test_8c_source.html#l00050">50</a> of file <a class="el" href="driver__ch9121__net__test_8c_source.html">driver_ch9121_net_test.c</a>.</p>

</div>
</div>
<a id="ga4aebb754a6674bf812df00c173a4f346"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4aebb754a6674bf812df00c173a4f346">&#9670;&nbsp;</a></span>ch9121_register_test()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t ch9121_register_test </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>register test </p>
<dl class="section return"><dt>Returns</dt><dd>status code<ul>
<li>0 success</li>
<li>1 test failed </li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>none </dd></dl>

<p class="definition">Definition at line <a class="el" href="driver__ch9121__register__test_8c_source.html#l00049">49</a> of file <a class="el" href="driver__ch9121__register__test_8c_source.html">driver_ch9121_register_test.c</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
